package vip.xiaonuo.smzq.modular.synchronize.service.impl;

import org.springframework.web.multipart.MultipartFile;
import vip.xiaonuo.smzq.modular.kcl.entity.Sjgl;
import vip.xiaonuo.smzq.modular.kcl.entity.vo.ExportTable;

import java.io.File;
import java.util.List;

public interface ISynchDataService {

    /**
     * @Author yxt
     * @Description 数据同步
     * @Date 2024/2/26 14:29
     * @Param [fiePath] 文件路径
     * @Param nd    年度
     **/
    void tbData(String fiePath, Integer nd);

    String fileUploadMdb(List<MultipartFile> files, Sjgl sjgl);

    String dataExportMdb(String fileName, Integer nd, String tableName);

    Boolean convertPgTableToFile(List<ExportTable> tableList, File mdbFilePath, Integer nd);
    Boolean convertPgTableToFileNew(List<ExportTable> tableList, String mdbFilePath, Integer nd);

    void getnow();

    boolean exportMdb(Integer nd, String resultFile);
}
